[INFO] fetching crate cryptsetup 0.2.0...
[INFO] checking cryptsetup-0.2.0 against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] extracting crate cryptsetup 0.2.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate cryptsetup 0.2.0
[INFO] finished tweaking crates.io crate cryptsetup 0.2.0
[INFO] tweaked toml for crates.io crate cryptsetup 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cryptsetup 0.2.0 on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 18 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v0.7.0 (available: v2.11.1)
[INFO] [stderr]       Adding nix v0.6.0 (available: v0.31.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitflags v0.7.0
[INFO] [stderr]   Downloaded bitflags v0.4.0
[INFO] [stderr]   Downloaded nix v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46ce0460b632a71165f33f7043fb0c393c6823866e130618fd165ad48b9b625a
[INFO] running `Command { std: "docker" "start" "-a" "46ce0460b632a71165f33f7043fb0c393c6823866e130618fd165ad48b9b625a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46ce0460b632a71165f33f7043fb0c393c6823866e130618fd165ad48b9b625a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46ce0460b632a71165f33f7043fb0c393c6823866e130618fd165ad48b9b625a", kill_on_drop: false }`
[INFO] [stdout] 46ce0460b632a71165f33f7043fb0c393c6823866e130618fd165ad48b9b625a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48d561e7dbd3425cabfb12f3e62eb589c33dc8482a2ade5efc9c22cb3a22563f
[INFO] running `Command { std: "docker" "start" "-a" "48d561e7dbd3425cabfb12f3e62eb589c33dc8482a2ade5efc9c22cb3a22563f", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]    Compiling nix v0.6.0
[INFO] [stderr]     Checking cryptsetup v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:41:64
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn crypt_set_log_callback(cd: *mut CryptDevice_, callback: extern fn(level:c_int, msg: *const c_char, usrptr: *mut c_void), usrp...
[INFO] [stdout]    |                                                                ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:43:68
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn crypt_set_confirm_callback(cd: *mut CryptDevice_, callback: extern fn(msg: *const c_char, usrptr: *mut c_void), usrptr: *mut ...
[INFO] [stdout]    |                                                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:209:1
[INFO] [stdout]     |
[INFO] [stdout] 209 | / bitflags! {
[INFO] [stdout] 210 | |     #[repr(C)] pub flags ActivationFlags: u32 {
[INFO] [stdout] 211 | |         const ACTIVATE_READONLY = 1<<0,
[INFO] [stdout] 212 | |         const ACTIVATE_NO_UUID = 1<<1,
[INFO] [stdout] ...   |
[INFO] [stdout] 223 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:209:1
[INFO] [stdout]     |
[INFO] [stdout] 209 | / bitflags! {
[INFO] [stdout] 210 | |     #[repr(C)] pub flags ActivationFlags: u32 {
[INFO] [stdout] 211 | |         const ACTIVATE_READONLY = 1<<0,
[INFO] [stdout] 212 | |         const ACTIVATE_NO_UUID = 1<<1,
[INFO] [stdout] ...   |
[INFO] [stdout] 223 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:182:32
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn cause(&self) -> Option<&std::error::Error> {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn cause(&self) -> Option<&dyn std::error::Error> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:177:31
[INFO] [stdout]     |
[INFO] [stdout] 177 |             Errno(ref e) => e.description(),
[INFO] [stdout]     |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut cb:&mut C = &mut * (usrptr as *mut C);
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let mut cb:&mut C = &mut * (usrptr as *mut C);
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:803:28
[INFO] [stdout]     |
[INFO] [stdout] 803 |     pub fn get_verity_info(&mut self) -> Result<ParamsVerity, Error> {
[INFO] [stdout]     |                            ^^^^^^^^^            ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 803 |     pub fn get_verity_info(&mut self) -> Result<ParamsVerity<'_>, Error> {
[INFO] [stdout]     |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:41:64
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn crypt_set_log_callback(cd: *mut CryptDevice_, callback: extern fn(level:c_int, msg: *const c_char, usrptr: *mut c_void), usrp...
[INFO] [stdout]    |                                                                ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:43:68
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn crypt_set_confirm_callback(cd: *mut CryptDevice_, callback: extern fn(msg: *const c_char, usrptr: *mut c_void), usrptr: *mut ...
[INFO] [stdout]    |                                                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:209:1
[INFO] [stdout]     |
[INFO] [stdout] 209 | / bitflags! {
[INFO] [stdout] 210 | |     #[repr(C)] pub flags ActivationFlags: u32 {
[INFO] [stdout] 211 | |         const ACTIVATE_READONLY = 1<<0,
[INFO] [stdout] 212 | |         const ACTIVATE_NO_UUID = 1<<1,
[INFO] [stdout] ...   |
[INFO] [stdout] 223 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:209:1
[INFO] [stdout]     |
[INFO] [stdout] 209 | / bitflags! {
[INFO] [stdout] 210 | |     #[repr(C)] pub flags ActivationFlags: u32 {
[INFO] [stdout] 211 | |         const ACTIVATE_READONLY = 1<<0,
[INFO] [stdout] 212 | |         const ACTIVATE_NO_UUID = 1<<1,
[INFO] [stdout] ...   |
[INFO] [stdout] 223 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:182:32
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn cause(&self) -> Option<&std::error::Error> {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn cause(&self) -> Option<&dyn std::error::Error> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:177:31
[INFO] [stdout]     |
[INFO] [stdout] 177 |             Errno(ref e) => e.description(),
[INFO] [stdout]     |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut cb:&mut C = &mut * (usrptr as *mut C);
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let mut cb:&mut C = &mut * (usrptr as *mut C);
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:803:28
[INFO] [stdout]     |
[INFO] [stdout] 803 |     pub fn get_verity_info(&mut self) -> Result<ParamsVerity, Error> {
[INFO] [stdout]     |                            ^^^^^^^^^            ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 803 |     pub fn get_verity_info(&mut self) -> Result<ParamsVerity<'_>, Error> {
[INFO] [stdout]     |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.07s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "48d561e7dbd3425cabfb12f3e62eb589c33dc8482a2ade5efc9c22cb3a22563f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48d561e7dbd3425cabfb12f3e62eb589c33dc8482a2ade5efc9c22cb3a22563f", kill_on_drop: false }`
[INFO] [stdout] 48d561e7dbd3425cabfb12f3e62eb589c33dc8482a2ade5efc9c22cb3a22563f
